<!DOCTYPE html>
<html lang="en">
<head>
  
    <title>实战 :: lichaikui</title>
  
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="#include&amp;lt;iostream&amp;gt;using namespace std;int main(){cout&amp;lt;&amp;lt;&amp;#34;This&amp;#34;&amp;lt;&amp;lt;&amp;#34;is&amp;#34;;cout&amp;lt;&amp;lt;&amp;#34;a&amp;#34;&amp;lt;&amp;lt;&amp;#34;c&#43;&#43;&amp;#34;;cout&amp;lt;&amp;lt;&amp;#34;problem.&amp;#34;&amp;lt;&amp;lt;endl;return 0;}#include&amp;lt;iostream&amp;gt;using namespace std;int main(){int a,b,c;a = 10;b = 23;c = a &#43; b;cout&amp;lt;&amp;lt;&amp;#34;a&#43;b =&amp;#34;;cout&amp;lt;&amp;lt;c;cout&amp;lt;&amp;lt;endl;return 0;}#include&amp;lt;iostream&amp;gt;using namespace std;int main(){int a,b,c;cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b;c = a &#43; b;cout&amp;lt;&amp;lt;&amp;#34;a&#43;b=&amp;#34;;cout&amp;lt;&amp;lt;c;return 0;} " />
<meta name="keywords" content="li" />
<meta name="robots" content="noodp" />
<link rel="canonical" href="https://lichaikui.gitee.io/simu/posts/c&#43;&#43;/03_%E5%AE%9E%E6%88%98/" />




<link rel="stylesheet" href="https://lichaikui.gitee.io/simu/assets/style.css">






<link rel="apple-touch-icon" href="https://lichaikui.gitee.io/simu/img/apple-touch-icon-192x192.png">

  <link rel="shortcut icon" href="https://lichaikui.gitee.io/simu/img/favicon/orange.png">



<meta name="twitter:card" content="summary" />



<meta property="og:locale" content="en" />
<meta property="og:type" content="article" />
<meta property="og:title" content="实战">
<meta property="og:description" content="#include&amp;lt;iostream&amp;gt;using namespace std;int main(){cout&amp;lt;&amp;lt;&amp;#34;This&amp;#34;&amp;lt;&amp;lt;&amp;#34;is&amp;#34;;cout&amp;lt;&amp;lt;&amp;#34;a&amp;#34;&amp;lt;&amp;lt;&amp;#34;c&#43;&#43;&amp;#34;;cout&amp;lt;&amp;lt;&amp;#34;problem.&amp;#34;&amp;lt;&amp;lt;endl;return 0;}#include&amp;lt;iostream&amp;gt;using namespace std;int main(){int a,b,c;a = 10;b = 23;c = a &#43; b;cout&amp;lt;&amp;lt;&amp;#34;a&#43;b =&amp;#34;;cout&amp;lt;&amp;lt;c;cout&amp;lt;&amp;lt;endl;return 0;}#include&amp;lt;iostream&amp;gt;using namespace std;int main(){int a,b,c;cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b;c = a &#43; b;cout&amp;lt;&amp;lt;&amp;#34;a&#43;b=&amp;#34;;cout&amp;lt;&amp;lt;c;return 0;} " />
<meta property="og:url" content="https://lichaikui.gitee.io/simu/posts/c&#43;&#43;/03_%E5%AE%9E%E6%88%98/" />
<meta property="og:site_name" content="lichaikui" />

  
    <meta property="og:image" content="https://lichaikui.gitee.io/simu/img/favicon/orange.png">
  

<meta property="og:image:width" content="2048">
<meta property="og:image:height" content="1024">













</head>
<body class="orange">


<div class="container headings--one-size">

  <header class="header">
  <div class="header__inner">
    <div class="header__logo">
      <a href="https://lichaikui.gitee.io/simu/">
  <div class="logo">
    lichaikui
  </div>
</a>

    </div>
    
      <div class="menu-trigger">menu</div>
    
  </div>
  
    <nav class="menu">
  <ul class="menu__inner menu__inner--desktop">
    
      
        
          <li><a href="https://lichaikui.gitee.io/simu/posts/about">About</a></li>
        
      
        
          <li><a href="https://lichaikui.gitee.io/simu/posts/showcase">Showcase</a></li>
        
      
      
    

    
  </ul>

  <ul class="menu__inner menu__inner--mobile">
    
      
        <li><a href="https://lichaikui.gitee.io/simu/posts/about">About</a></li>
      
    
      
        <li><a href="https://lichaikui.gitee.io/simu/posts/showcase">Showcase</a></li>
      
    
    
  </ul>
</nav>

  
</header>


  <div class="content">
    
<div class="post">
  <h1 class="post-title">
    <a href="https://lichaikui.gitee.io/simu/posts/c&#43;&#43;/03_%E5%AE%9E%E6%88%98/">实战</a></h1>
  <div class="post-meta">
    
    
    
  </div>

  
  


  

  <div class="post-content"><div>
        <pre tabindex="0"><code>
#include&lt;iostream&gt;
using namespace std;
int main()
{
    cout&lt;&lt;&#34;This&#34;&lt;&lt;&#34;is&#34;;
    cout&lt;&lt;&#34;a&#34;&lt;&lt;&#34;c++&#34;;
    cout&lt;&lt;&#34;problem.&#34;&lt;&lt;endl;
    return 0;
}



#include&lt;iostream&gt;
using namespace std;
int main()
{
    int a,b,c;
    a = 10;
    b = 23;
    c = a + b;
    cout&lt;&lt;&#34;a+b =&#34;;
    cout&lt;&lt;c;
    cout&lt;&lt;endl;
    return 0;
}

#include&lt;iostream&gt;
using namespace std;
int main()
{
    int a,b,c;
    cin&gt;&gt;a&gt;&gt;b;
    c = a + b;
    cout&lt;&lt;&#34;a+b=&#34;;
    cout&lt;&lt;c;
    return 0;
}
</code></pre>
      </div></div>

  
  
<div class="pagination">
    <div class="pagination__title">
        <span class="pagination__title-h">Read other posts</span>
        <hr />
    </div>
    <div class="pagination__buttons">
        
        <span class="button previous">
            <a href="https://lichaikui.gitee.io/simu/posts/c&#43;&#43;/%E5%9F%BA%E7%A1%80%E5%91%BD%E4%BB%A4/">
                <span class="button__icon">←</span>
                <span class="button__text">命令</span>
            </a>
        </span>
        
        
        <span class="button next">
            <a href="https://lichaikui.gitee.io/simu/posts/c&#43;&#43;/04_%E6%95%B0%E6%8D%AE%E5%A4%84%E7%90%86/">
                <span class="button__text">数据处理</span>
                <span class="button__icon">→</span>
            </a>
        </span>
        
    </div>
</div>

  

  

</div>

  </div>

  
    <footer class="footer">
  <div class="footer__inner">
    
      <div class="copyright">
        <span>© 2022 Powered by <a href="http://gohugo.io">Hugo</a></span>
    
        <span>:: Theme made by <a href="https://twitter.com/panr">panr</a></span>
      </div>
  </div>
</footer>

<script src="https://lichaikui.gitee.io/simu/assets/main.js"></script>
<script src="https://lichaikui.gitee.io/simu/assets/prism.js"></script>







  
</div>

</body>
</html>
